package com.renjiyue.dao;

import com.renjiyue.pojo.User;
import org.mybatis.spring.support.SqlSessionDaoSupport;

import java.util.List;

public class UserDaoImpl2 extends SqlSessionDaoSupport implements UserDao{
    @Override
    public List<User> selectUser() {
        UserDao mapper = getSqlSession().getMapper(UserDao.class);
        return mapper.selectUser();
    }
}
